package com.dx.common.table.ppt;

/**
 * Created by admin on 2017/8/27.
 */
public class Ret_ship_noticeId implements java.io.Serializable {

    private String dn_no;
    private String mdl_id_fk;

    public Ret_ship_noticeId() {
    }

    public Ret_ship_noticeId(String dn_no, String mdl_id_fk) {
        this.dn_no = dn_no;
        this.mdl_id_fk = mdl_id_fk;
    }

    public String getDn_no() {
        return dn_no;
    }

    public void setDn_no(String dn_no) {
        this.dn_no = dn_no;
    }

    public String getMdl_id_fk() {
        return mdl_id_fk;
    }

    public void setMdl_id_fk(String mdl_id_fk) {
        this.mdl_id_fk = mdl_id_fk;
    }

    public boolean equals(Object other) {
        if ((this == other))
            return true;
        if ((other == null))
            return false;
        if (!(other instanceof Ret_ship_noticeId))
            return false;
        Ret_ship_noticeId castOther = (Ret_ship_noticeId) other;

        return ((this.getDn_no() == castOther.getDn_no()) || (this
                .getDn_no() != null && castOther.getDn_no() != null && this
                .getDn_no().equals(castOther.getDn_no())))
                && ((this.getMdl_id_fk() == castOther.getMdl_id_fk()) || (this
                .getMdl_id_fk() != null
                && castOther.getMdl_id_fk() != null && this
                .getMdl_id_fk().equals(castOther.getMdl_id_fk())))
               ;
    }

    public int hashCode() {
        int result = 17;

        result = 37
                * result
                + (getDn_no() == null ? 0 : this.getDn_no()
                .hashCode());
        result = 37
                * result
                + (getMdl_id_fk() == null ? 0 : this.getMdl_id_fk()
                .hashCode());
        return result;
    }

    @Override
    public String toString() {
        return "Ret_ship_noticeId{" +
                "dn_no='" + dn_no + '\'' +
                ", mdl_id_fk='" + mdl_id_fk + '\'' +
                '}';
    }
}
